package cn.tedu.spring.eg11;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestProduct {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.eg11");
        Product contextBean = context.getBean(Product.class);
        System.out.println("contextBean = " + contextBean);

    }
}
